package com.xue.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.xue.service.IFeignService;


@RestController
public class FeignController {

	@Autowired
	IFeignService feignService;
	
	
	@RequestMapping("/getShop")
    public String getSHop(String productId, String userId){
		 return  feignService.sayFromClient(productId, userId);
    }
}
